package main

import "fmt"

func main() {
	arr:=[10]int{1,2,3,4,5,6,7,8,9,10}
	start:=0
	end:=len(arr)-1
	for{
		if (start>end){
			break;
		}
		arr[start],arr[end]=arr[end],arr[start]
		end--
		start++
	}
	fmt.Println(arr)
}
